efivar: check that efivarfs is writeable
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 18 Mar 2022 14:21:33 +0000 (15:21 +0100)
committerJulian Andres Klode <jak@debian.org>
Sun, 2 Nov 2025 11:08:11 +0000 (12:08 +0100)
commita964d2552f69c130f1647e0ab90fd363d5f1ebe2
tree6c3effcb1227534eec8ce1696016161051e95376
parentdd3a222472265827f4d1b7c0d093b66ae813e856
efivar: check that efivarfs is writeable

Some UEFI implementations (notably U-Boot) don't implement the
SetVariable() runtime service. On these systems the GRUB installation
must be completed manually. Write a warning in this case but avoid
throwing an error.  (LP: #1965288)

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Gbp-Pq: Name efivar-check-that-efivarfs-is-writeable.patch
grub-core/osdep/unix/efivar.c